package ch.fhnw.kosmonauten.net;

import java.io.Serializable;

/**
 * Diese Klasse ermoeglicht die Login-Anfrage.
 * 
 * @author Fabian Siegrist
 * @author Oliver Freiermuth
 * @author Mikhail Onoufrienko
 * @author Risto Milani
 * @version $Revision: 80 $
 *          File name: $HeadURL: http://iching-kosmonauten.googlecode.com/svn/I-Ching/src/ch/fhnw/kosmonauten/net/LoginRequest.java $
 *          Last modified:$Date: 2013-05-24 12:40:15 +0000 (Fri, 24 May 2013) $
 *          Last modified by: $Author: molotok.mihon@gmail.com $
 */

// class definition
public class LoginRequest implements Serializable {

	// attributes
	public static final String type = "userlogin";
	private final String username;
	private final String password;

	// methods
	/**
	 * @param username
	 * @param password
	 */
	public LoginRequest(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}

	/**
	 * @return
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @return
	 */
	public String getPassword() {
		return password;
	}
}
